<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <input type="hidden" name="row[id]" value="{$row.id}">
    <div class="form-group">
        <label for="c-from_username" class="control-label col-xs-12 col-sm-2">{:__('from_username')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-from_username" data-rule="required" class="form-control" name="row[from_username]" type="text" value="{$row.from_username|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-from_mobile" class="control-label col-xs-12 col-sm-2">{:__('from_mobile')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-from_mobile" data-rule="required" class="form-control" name="row[from_mobile]" type="text" value="{$row.from_mobile|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-from_address" class="control-label col-xs-12 col-sm-2">{:__('from_address')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-from_address" data-rule="required" class="form-control" name="row[from_address]" type="text" value="{$row.from_address|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
